package com.iotteam.androidbase.commen.utils;

import com.iotteam.androidbase.base.BaseActivity;
import com.iotteam.androidbase.base.BaseApplication;

/**
 * Created by lidechen on 5/7/17.
 */

public class ResUtil {

    public static String getStringById(int id){
        return BaseApplication.getAppContext().getResources().getString(id);
    }

    public static int getColorById(int id){
        return BaseApplication.getAppContext().getResources().getColor(id);
    }
}
